﻿using System;
using Pfz.Factoring;

namespace Pfz.WpfControls
{
	/// <summary>
	/// Argument used by Editor class when an IEditor must be shown to edit a record.
	/// </summary>
	public class EditorArgs:
		EventArgs
	{
		/// <summary>
		/// Gets the Editor that must be used/shown.
		/// </summary>
		public IEditor Editor { get; internal set; }

		/// <summary>
		/// Gets or sets the record being edited.
		/// </summary>
		public object Record { get; internal set; }
	}
}
